Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Yes, but .......

Yes....in a way. I am clear that Java cannot recycle notes objects in the same way as Normal java objects....you must recycle yourself. So when I traverse a big bunch of documents, I do it like this

while (doc != null) {

// do whatever to doc

nextdoc = dc.getNextDocument();
doc.recycle();
doc = nextdoc;
}


but beyond that, its all guesswork. Some people say recyle the session, others say no, never do that.

Some people say do this

Runtime.getRuntime().gc();

at the beginning and end of your code, some say no never do that.

When you read what Balaban writes about recycling...and I have read all his many articles on the subject....its all very informative .... BUT never quite tells you specifically how to deal with thing at a Code level. Its all very interesting to him, I guess, but specifics about coding....you never get them.

Can you shed any light on the subject ?


Feedback response number WEBB8G4JS3 created by ~Dana Cisfooskiynds on 04/20/2011

Server JVM Problems (~Dana Cisfooski... 19.Apr.11)
. . known issue with java agents with a... (~Dean Refanaikl... 20.Apr.11)
. . Check out Notes.ini setting for Jav... (~Arnold Zenjumi... 20.Apr.11)
. . . . That one I am trying to use already... (~Dana Cisfooski... 20.Apr.11)
. . . . . . You *do* recycle all Notes objects ... (~Arnold Zenjumi... 20.Apr.11)
. . . . . . . . Yes, but ....... (~Dana Cisfooski... 20.Apr.11)
. . . . . . . . . . also.... (~Dana Cisfooski... 20.Apr.11)
. . . . . . . . . . . . Java recycling... (~Zelda Ekresask... 20.Apr.11)
. . . . . . . . . . . . . . Tremendous (~Dana Cisfooski... 20.Apr.11)
. . . . . . . . . . . . . . . . Domingo (~Hal Nonboosige... 22.Apr.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS